package net.lahuobao.export.datasoruce.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import net.lahuobao.export.datasoruce.annotation.ExportField;
import net.lahuobao.finance.entity.organizationEntity.OrganizationEntity;

import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 账户明细记录表
 * @author zhangdaihao
 * @date 2016-09-05 13:25:01
 * @version V1.0   
 *
 */
@Entity
@SuppressWarnings("serial")
public class WithdrawCashEntity implements java.io.Serializable {
		@ExportField(title="交易编号",sort=10)
		private Integer accountRecordId;
		@ExportField(title="accountId",isShow=0)
	    private Integer accountId;
		@ExportField(title="creditId",isShow=0)
	    private Integer creditId;
		@ExportField(title="debitiId",isShow=0)
	    private Integer debitiId;
		@ExportField(title="orderId",isShow=0)
	    private Integer orderId;
		@ExportField(title="remark",isShow=0)
	    private String remark;

		@ExportField(title="发起时间",sort=70)
	    private String operateTimeStr;
		@ExportField(title="operateId",isShow=0)
	    private Integer operateId;
		@ExportField(title="payRecordId",isShow=0)
	    private Integer payRecordId;
		@ExportField(title="alipayRecordId",isShow=0)
	    private Integer alipayRecordId;



		@ExportField(title="支付银行账户名",sort=20)
	    private String bankAccountName;
		@ExportField(title="支付银行卡号",isShow=0)
		private String bankCardNo;
		@ExportField(title="支付LHB账户名",sort=30)
		private String organizationName;
		@ExportField(title="手机号",sort=40)
		private String phone;
		@ExportField(title="收款银行账户名",sort=50)
		private String toBankAccountName;
		@ExportField(title="收款银卡卡号",sort=60)
		private String toBankAccountNo;
		@ExportField(title="发起时间",isShow=0)
	    private Date operateTime;
		@ExportField(title="订单状态",sort=80,isTranf=1,dictType="orderStatus",tranfType=1)
	    private String status;
		@ExportField(title="支付金额",sort=90)
	    private BigDecimal amount;
		@ExportField(title="账户总额",sort=100)
	    private BigDecimal total;
		@ExportField(title="可用余额",sort=110)
	    private BigDecimal usable;
		@ExportField(title="类型",sort=120,isTranf=1,dictType="operateType",tranfType=1)
	    private String operateType;
		@ExportField(title="可用余额",isShow=0)
	    private String alipayName;

	    public String getOperateTimeStr() {
	        return operateTimeStr;
	    }

	    public void setOperateTimeStr(String operateTimeStr) {
	        this.operateTimeStr = operateTimeStr;
	    }

	    public Integer getAccountRecordId() {
	        return accountRecordId;
	    }

	    public void setAccountRecordId(Integer accountRecordId) {
	        this.accountRecordId = accountRecordId;
	    }

	    public Integer getAccountId() {
	        return accountId;
	    }

	    public void setAccountId(Integer accountId) {
	        this.accountId = accountId;
	    }

	    public Integer getCreditId() {
	        return creditId;
	    }

	    public void setCreditId(Integer creditId) {
	        this.creditId = creditId;
	    }

	    public Integer getDebitiId() {
	        return debitiId;
	    }

	    public void setDebitiId(Integer debitiId) {
	        this.debitiId = debitiId;
	    }

	    public Integer getOrderId() {
	        return orderId;
	    }

	    public void setOrderId(Integer orderId) {
	        this.orderId = orderId;
	    }


	    public BigDecimal getAmount() {
	        return amount;
	    }

	    public void setAmount(BigDecimal amount) {
	        this.amount = amount;
	    }

	    public String getRemark() {
	        return remark;
	    }

	    public void setRemark(String remark) {
	        this.remark = remark == null ? null : remark.trim();
	    }

	    public Date getOperateTime() {
	        return operateTime;
	    }

	    public void setOperateTime(Date operateTime) {
	        this.operateTime = operateTime;
	    }

	    public Integer getOperateId() {
	        return operateId;
	    }

	    public void setOperateId(Integer operateId) {
	        this.operateId = operateId;
	    }

	    public Integer getPayRecordId() {
	        return payRecordId;
	    }

	    public void setPayRecordId(Integer payRecordId) {
	        this.payRecordId = payRecordId;
	    }

	    public Integer getAlipayRecordId() {
	        return alipayRecordId;
	    }

	    public void setAlipayRecordId(Integer alipayRecordId) {
	        this.alipayRecordId = alipayRecordId;
	    }

	    public String getOrganizationName() {
			return organizationName;
		}

		public void setOrganizationName(String organizationName) {
			this.organizationName = organizationName;
		}

		public String getPhone() {
			return phone;
		}

		public void setPhone(String phone) {
			this.phone = phone;
		}

		public String getToBankAccountName() {
			return toBankAccountName;
		}

		public void setToBankAccountName(String toBankAccountName) {
			this.toBankAccountName = toBankAccountName;
		}

		public String getToBankAccountNo() {
			return toBankAccountNo;
		}

		public void setToBankAccountNo(String toBankAccountNo) {
			this.toBankAccountNo = toBankAccountNo;
		}

		public String getStatus() {
			return status;
		}

		public void setStatus(String status) {
			this.status = status;
		}

		public String getOperateType() {
			return operateType;
		}

		public void setOperateType(String operateType) {
			this.operateType = operateType;
		}

		public BigDecimal getTotal() {
	        return total;
	    }

	    public void setTotal(BigDecimal total) {
	        this.total = total;
	    }

	    public BigDecimal getUsable() {
	        return usable;
	    }

	    public void setUsable(BigDecimal usable) {
	        this.usable = usable;
	    }

	    public String getBankAccountName() {
	        return bankAccountName;
	    }

	    public void setBankAccountName(String bankAccountName) {
	        this.bankAccountName = bankAccountName == null ? null : bankAccountName.trim();
	    }

	    public String getAlipayName() {
	        return alipayName;
	    }

	    public void setAlipayName(String alipayName) {
	        this.alipayName = alipayName == null ? null : alipayName.trim();
	    }
}
